/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;


import java.sql.Time;
import java.util.Date;

/**
 *
 * @author tran quoc thinh
 */
public class XuatChieuPoJo {
    private int maXC;
    private Date ngayChieu;
    private Time gioChieu;
    private String maPhim;
    private String maPhong;

    public XuatChieuPoJo() {
        this.maXC = 0;
        this.ngayChieu =  new Date(1, 1, 1);
        //this.gioChieu = Time.
        this.gioChieu = Time.valueOf("12:00:00");
        this.maPhim = "...";
        this.maPhong = "...";
    }

    @Override
    public String toString()
    {
        return this.gioChieu.toString() + "   " + this.ngayChieu.toString();
        
    }
    
    public Time getGioChieu() {
        return gioChieu;
    }

    public void setGioChieu(Time gioChieu) {
        this.gioChieu = gioChieu;
    }

    public String getMaPhim() {
        return maPhim;
    }

    public void setMaPhim(String maPhim) {
        this.maPhim = maPhim;
    }

    public String getMaPhong() {
        return maPhong;
    }

    public void setMaPhong(String maPhong) {
        this.maPhong = maPhong;
    }

    public int getMaXC() {
        return maXC;
    }

    public void setMaXC(int maXC) {
        this.maXC = maXC;
    }

    public Date getNgayChieu() {
        return ngayChieu;
    }

    public void setNgayChieu(Date ngayChieu) {
        this.ngayChieu = ngayChieu;
    }

    public XuatChieuPoJo(int maXC, Date ngayChieu, Time gioChieu, String maPhim, String maPhong) {
        this.maXC = maXC;
        this.ngayChieu = ngayChieu;
        this.gioChieu = gioChieu;
        this.maPhim = maPhim;
        this.maPhong = maPhong;
    }
    
}
